import sys

from PyQt6.QtWidgets import QApplication
import logging



from sllurp.gui_qt_ui import InventoryApp  # 使用Qt .ui文件生成UI
# from sllurp.gui_qt import InventoryApp  # 使用纯Python生成UI

if __name__ == '__main__':
    app = QApplication(sys.argv)
    window = InventoryApp()
    window.show()
    logging.basicConfig(filename='llrp.log', level=logging.DEBUG)
    sys.exit(app.exec())